export default {
    data() {
        return {
            targetUrl: '/warehouses',
            template: {
                name: {
                    title: '名称',
                    value: '',
                },
                remark:{
                    title:'备注',
                    value: ''
                }
            },
            columns: [{
                    title: 'ID',
                    key: 'id',
                },
                {
                    title: '名称',
                    key: 'name'
                },
                {
                    title: '备注',
                    key: 'remark'
                }
            ],
            rules: {
                name: [{
                    required: true,
                    message: '请输入名称',
                    trigger: 'blur'
                }],
            }
        }
    }
}
